package com.zdlog.wenjuan.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: wenjuanSer
 * @PACKAGE_NAME: com.zdlog.wenjuan.config
 * @author: Kuaile
 * @create: 2018-02-05 19:58
 **/

@Data
@ConfigurationProperties(prefix = "email")
@Component
public class EmailConfig {


    /**
     * email发送host
     */
    private String host;


    /**
     *用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     *发件人
     */
    private String from;
}
